package com.cuit.ocp.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "trader")
public class Trader {
    private int tid;
    private String tradername;       //经销商用户名
    private String password;       //密码
    private String realName;        //真实名字
    private Role role;              //账号权限
    private String linkman;         //联系人
    private String traderPhone;     //经销商电话
    private String traderMail;      //经销商邮箱
    private String traderStatus;   //经销商账号状态
    private String ps;               //备注
}
